]> dgit.raspbian.org Git - gnome-shell.git/commit
NetworkMenu: only show 5 connections per device
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 2 Jun 2011 14:22:36 +0000 (16:22 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 8 Jun 2011 15:24:59 +0000 (17:24 +0200)
commit82648bc86c50863771f9576a04ca6dde77e107ae
tree1705ae3db79b060e568ac31cb99ea3d05f480bfa
parentea1e5a5210bbade987fb63b7f40dffe6d250d433
NetworkMenu: only show 5 connections per device

If we have more than 5 (which can happen with VPN connections), place
them into a More... submenu, which also becomes scrollable if needed.
To protect from race conditions and ordering issues while reading
connections, sort them in alphabetic order when the timestamp is equal.

https://bugzilla.gnome.org/show_bug.cgi?id=651602
js/ui/status/network.js